package com.example.demo.mapper;


import com.example.demo.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
@Mapper
public interface StudentMapper {
    int deleteByPrimaryKey(Integer studentNo);

    int insert(Student record);

    Student selectByPrimaryKey(Integer studentNo);

    List<Student> selectAll(Student record);

    int updateByPrimaryKey(Student record);

    //查询学生总成绩
    Map<String, Object> selectFinalScore(Student student);

    //查询学生账号信息
    List<Student> selectloginStudent(Student student);
}